namespace RBAC.Write.Api.Application.Command.ERP.InboundManagement
{
    using MediatR;
    using RBAC.Domain.Dto.Output;
    using RBAC.ErrorCode;

    /// <summary>
    /// 审批/反审 采购入库 单据
    /// TargetStatus 取值："开立" 或 "审批"
    /// </summary>
    public class AppOrUnappPurchaseStorageCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 主表ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 目标状态：开立/审批
        /// </summary>
        public string? TargetStatus { get; set; }

        /// <summary>
        /// 操作人（审批人/反审人）
        /// </summary>
        public string? Operator { get; set; }
    }
}
